import {Id} from "@/type/data";

export interface GenData extends Id {

  tableName: string,
  databaseName: string,
  comment: string,
  createTime: string,
  updateTime: string
}

export interface GenParams {

  tableName: string,

}

export interface GenDataDetail extends Id {

  tableName: string,
  databaseName: string,
  comment: string,
  funName: string,
  api: string,
  frontPath: string,
  clazzName: string,
  className: string,
  module: string,
  packageName: string,
  genFieldList: GenField[],
  authorize: string

}


export interface GenField extends Id {
  tableId: number,
  tableField: number,
  isTime: boolean,
  fieldType: string,
  tableFieldType: string,
  name: string,
  comment: string,
  search: boolean,
  import: boolean,
  add: boolean,
  res: boolean,
  detail: boolean,
  type: boolean,
  export: boolean


}
